//
//  TrackPackageVC.m
//  YiShangPin
//
//  Created by yishangpin2 on 15/3/16.
//  Copyright (c) 2015年 yishangpin2. All rights reserved.
//

#import "TrackPackageVC.h"

@interface TrackPackageVC ()

@end

@implementation TrackPackageVC

- (void)viewDidLoad {
    [super viewDidLoad];
    
//    NSArray *nib = [[NSBundle mainBundle] loadNibNamed:@"TrackPackageView" owner:self options:nil];
//    TrackPackageView *trackPackageView = nib[0];
//    trackPackageView.frame = CGRectMake(0, 0, self.view.frame.size.width, trackPackageView.frame.size.height);
//    [self.scrollview addSubview:trackPackageView];
    _LastUpdateLabel.layer.borderColor = [UIColor lightGrayColor].CGColor;
    _LastUpdateLabel.layer.borderWidth = 1.5;
    
    _TrackingHistoryLabel.layer.borderColor = [UIColor lightGrayColor].CGColor;
    _TrackingHistoryLabel.layer.borderWidth = 1.5;
    
    self.scrollview.contentSize = CGSizeMake(self.view.frame.size.width, _ViewAllOrdersButton.frame.origin.y + _ViewAllOrdersButton.frame.size.height + 8);
    [self.scrollview setShowsVerticalScrollIndicator:NO];
    
    // Do any additional setup after loading the view.
}

- (void)viewWillAppear:(BOOL)animated{
    
    self.navigationItem.title = @"TrackPackage";
    
    
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
